package com.gitee.cheungming.goods.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "second.kill")
@Data
public class SecondKill {

    private Long goodsId;

    private Integer stock;
}
